package com.qingjiang.projectschedule.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qingjiang.projectschedule.pojo.UserInfo;
import com.qingjiang.projectschedule.utils.Result;

import java.util.List;
import java.util.Map;

/**
 * @author jx
 * @description 针对表【user_info】的数据库操作Service
 * @createDate 2024-03-20 10:05:43
 */
public interface UserInfoService extends IService<UserInfo> {

    Result getUserInfo(String token);

    Result getUserInfoList();

    Result updateUserInfo(UserInfo userInfo);

    Result getUserInfoListByRole(Integer roleId);

    String getUserNameById(Integer uid);

    Result insertUserInfo(UserInfo userInfo);

    List<Map<String, Object>> getUserForSendMessage(Integer deptId);
}
